package Day04;

public class Test7 {
    public static void main(String[] args) {
        int temp ;
        int a = 10;
        int b = 20;
        System.out.println("互换前："+a);
        System.out.println("互换前："+b);
        temp =a;
        a=b;
        b = temp;
        System.out.println("互换后："+a);
        System.out.println("互换后："+b);
    }
}
